Skip to main content

Assign Issue

AutomatR.Jira.Activities.AssignIssue

The "Assign Issue" activity in AutomatR's Jira package assigns a JIRA issue to a specified user/assignee. This activity facilitates the automation of issue management by assigning issues to designated users, streamlining collaboration and task allocation.

Properties

NameDescription
Input
Assign User IDSpecifies the User ID to whom the JIRA issue should be assigned. String variables containing the User ID.
Ticket IDSpecifies the Ticket ID of the JIRA issue to be assigned. Either the "Ticket ID" or "Ticket Key" must be provided. String variables containing the Ticket ID.
Ticket KeySpecifies the Ticket Key of the JIRA issue to be assigned. Either the "Ticket ID" or "Ticket Key" must be provided. String variables containing the Ticket Key.
Misc
Display NameThe display name of the activity. This field supports only strings or String variables.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Assign Issue" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs a Boolean value indicating whether the assignment of the JIRA issue was successful (True) or encountered errors (False). Variables of relevant types (e.g., Boolean variables) to store the operation result.

Validation:

  • The activity validates whether either the "Ticket ID" or "Ticket Key" is provided. If neither is provided, a validation error is raised.

How to use:

  1. Drag and drop the "Assign Issue" activity onto the workflow.
  2. Configure the properties by specifying the User ID, and providing the Ticket ID or Ticket Key of the JIRA issue to be assigned.
  3. Optionally, configure the delay.
  4. Execute the workflow to assign the specified JIRA issue to the designated user.

Example: Consider an example where the "Assign Issue" activity is used to assign a JIRA issue with the Ticket Key "PROJ-123" to a user with the User ID "john.doe":

Assign Issue:
Delay: 2
Ticket Key: "PROJ-123"
Assign User ID: "john.doe"
Result: isIssueAssigned

In this example, the activity waits for 2 seconds before executing, assigns the JIRA issue with the Ticket Key "PROJ-123" to the user with the User ID "john.doe." The result of the operation is stored in the Boolean variable "isIssueAssigned" for further handling in the workflow.